#ifndef __VERTEX_H__
#define __VERTEX_H__

#include <string>
using namespace std;

class Chip;

class Vertex
{
private:
	string	mLabel;
	bool	mWasVisited;
	
	Chip*	mLinkChip;
public: 
	Vertex(string plabel):mLabel(plabel),mWasVisited(false),mLinkChip(0)
	{};
	
	string getLabel()
	{
		return mLabel;
	};

	void setWasVisited(bool pWasVisited)
	{
		mWasVisited = pWasVisited;
	};
	bool getWasVisited()
	{
		return mWasVisited;
	};

	void setChip(Chip* pLinkChip)
	{
		mLinkChip = pLinkChip;
	};	
	Chip* getChip() const
	{
		return mLinkChip;
	}

};

#endif __VERTEX_H__